﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace MVC.Models
{
     [Bind(Exclude = "FotoId")]
    public class Foto
    {
         [ScaffoldColumn(false)]
        public int FotoId { get; set; }

        public string Path { get; set; }
        public string Descricao { get; set; }
        public DateTime DataFoto { get; set; }
        public virtual Sala Sala { get; set; }
        public virtual Crianca Crianca { get; set; }
    }
}